.layui-header {
    width: calc(100% - 160px);
    left: 160px;
    padding-left: 10px;
    border-bottom: 1px solid #f6f6f6;
    box-sizing: border-box;
}

.layui-body {
    left: 170px;
    right: 10px;
    top: 60px;
    overflow-y: hidden;
}

.layui-header,
.layui-header .layui-nav,
.layui-header .layui-nav-item {
    height: 50px !important;
    line-height: 50px !important;
}

.layui-nav-tree {
    width: 160px;
    top: 50px;
}

th {
    text-align: center;
    vertical-align: middle;
}

td {
    text-align: center;
}

.logo {
    position: absolute;
    width: 160px;
    height: 50px;
    line-height: 50px;
    z-index: 1000;
    text-align: center;
    background-color: #20222A !important;
    color: white;
}

.layui-side .layui-nav-child {
    padding: 1px 0 0 0;
}

.layui-side {
    width: 160px;
}

.layui-side-scroll {
    width: 180px;
    background-color: #20222A;
}

.layui-side .layui-this a:hover {
    background-color: #009688 !important;
}

.layui-side .layui-nav-item {
    border-bottom: 1px solid black;
}

.layui-side .layui-nav-item,
.layui-side .layui-nav-item a:hover {
    background-color: #20222A;
}

.layui-side .layui-this a:hover {
    background-color: #009688 !important;
}

.layui-side .layui-nav-item .layui-nav-child a:hover {
    background-color: #16181D;
}

.layui-header .layui-nav {
    box-sizing: border-box;
    background-color: #fff;
}

/*.layui-layout-left {
    width: calc(70% - 200px);
    left: 380px;
}*/
.layui-layout-right {
    width: 200px;
    border-bottom: 1px solid #f6f6f6;
    padding-right: 10px !important;
}

.layui-header .layui-nav a {
    color: black !important;
}

.layui-nav .layui-nav-mored,
.layui-nav-itemed > a .layui-nav-more {
    border-bottom-color: #666;
}

.layui-header .layui-nav .layui-nav-more {
    border-top-color: black;
}

.layui-header .layui-nav .layui-nav-mored {
    border-top-color: white;
    border-bottom-color: black;
}

.layui-header .layui-nav-bar {
    height: 2px;
    background-color: black;
}

#admin {
    float: right;
}

.layui-nav-child {
    text-align: center;
}

.head {
    width: 200px;
    height: 50px;
    color: gray;
    font-size: 12px;
}

@media screen and (max-width: 975px) {
    .layui-header {
        position: fixed;
        left: 170px;
        right: 0;
        width: 975px;
    }
}